
// VideoDlg.h : header file
//

#pragma once
#include "ScreenWnd.h"
#define WM_VIDEOCB	WM_USER + 0x100


// CVideoDlg dialog
class CVideoDlg : public CDialogEx
{
// Construction
public:
	CVideoDlg(CWnd* pParent = nullptr);	// standard constructor

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_VIDEO_DIALOG };
#endif

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;
	int m_bPlay;
	CString m_FilePath;
	CScreenWnd m_Screen;
	int m_Width;
	int m_Height;

	void SetScreenSize(int w, int h);

	// Generated message map functions
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedButton5();
	afx_msg void OnBnClickedButton6();
	afx_msg LRESULT OnVideoCB(WPARAM, LPARAM);
};
